From a8f634b0a32223ab864169b5dbf81f6c71a49e07 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 21 Aug 2009 17:00:01 +0100 Subject: [PATCH] Revert 20105:979fd420311b --- tools/libxc/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile index faf94c9807..5693025e60 100644 --- a/tools/libxc/Makefile +++ b/tools/libxc/Makefile @@ -151,9 +151,13 @@ libxenguest.so: libxenguest.so.$(MAJOR) libxenguest.so.$(MAJOR): libxenguest.so.$(MAJOR).$(MINOR) ln -sf $< $@ +ifeq ($(CONFIG_MiniOS),y) +.zlib.deps: + echo >$@ +else .zlib.deps: @(set -e; \ - . $(XEN_ROOT)/tools/check/funcs.sh; \ + . ../check/funcs.sh; \ echo >$@.new; \ if has_header bzlib.h; then \ echo "-DHAVE_BZLIB" >>$@.new; \ @@ -166,6 +170,7 @@ libxenguest.so.$(MAJOR): libxenguest.so.$(MAJOR).$(MINOR) echo " - LZMA decompression supported"; \ fi; \ mv $@.new $@) +endif xc_dom_bzimageloader.o: .zlib.deps xc_dom_bzimageloader.o: CFLAGS += $(shell grep D .zlib.deps) -- 2.30.2